package org.dromara.erp.service;

import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.erp.domain.ErpWarehousingInfo;

import java.util.Collection;
import java.util.List;

/**
 * 入库明细Service接口
 *
 * @author Mr Lei
 * @date 2024-06-05
 */
public interface IErpWarehousingInfoService {

    /**
     * 查询入库明细
     */
    ErpWarehousingInfo queryById(Long id);

    /**
     * 查询入库明细列表
     */
    TableDataInfo<ErpWarehousingInfo> queryPageList(ErpWarehousingInfo bo, PageQuery pageQuery);

    /**
     * 查询入库明细列表
     */
    List<ErpWarehousingInfo> queryList(ErpWarehousingInfo bo);

    /**
     * 新增入库明细
     */
    Boolean insert(ErpWarehousingInfo bo);

    /**
     * 修改入库明细
     */
    Boolean update(ErpWarehousingInfo bo);

    /**
     * 校验并批量删除入库明细信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
